package com.ruoyi.web.controller.mall.mallShopBank.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.util.Date;

/**
 * 店铺银行对象 mall_shop_bank
 * 
 * @author ruoyi
 * @date 2021-01-18
 */
public class MallShopBank //extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 店铺银行id */
    private String id;

    /** 店铺id */
    @Excel(name = "店铺id")
    private String shopId;

    /** 卡号 */
    @Excel(name = "卡号")
    private String card;

    /** 开户行 */
    @Excel(name = "开户行")
    private String cardBank;

    /** 银行预留手机号 */
    @Excel(name = "银行预留手机号")
    private String phone;

    /** 开卡人姓名 */
    @Excel(name = "开卡人姓名")
    private String name;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date caAt;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date upAt;

    /** 0默认1删除 */
    private Integer delFlag;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setShopId(String shopId) 
    {
        this.shopId = shopId;
    }

    public String getShopId() 
    {
        return shopId;
    }
    public void setCard(String card) 
    {
        this.card = card;
    }

    public String getCard() 
    {
        return card;
    }
    public void setCardBank(String cardBank) 
    {
        this.cardBank = cardBank;
    }

    public String getCardBank() 
    {
        return cardBank;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setCaAt(Date caAt) 
    {
        this.caAt = caAt;
    }

    public Date getCaAt() 
    {
        return caAt;
    }
    public void setUpAt(Date upAt) 
    {
        this.upAt = upAt;
    }

    public Date getUpAt() 
    {
        return upAt;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("shopId", getShopId())
            .append("card", getCard())
            .append("cardBank", getCardBank())
            .append("phone", getPhone())
            .append("name", getName())
            .append("caAt", getCaAt())
            .append("upAt", getUpAt())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
